package com.phiture.erp.basic.web.convert;

import com.phiture.erp.basic.api.pojo.resp.ErpMaterialPlanResp;
import com.phiture.erp.basic.dal.entity.ErpMaterialPlanDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface ErpMaterialPlanConvertMapper {
    ErpMaterialPlanConvertMapper INSTANCE = Mappers.getMapper(ErpMaterialPlanConvertMapper.class);
    ErpMaterialPlanResp toErpMaterialPlanResp(ErpMaterialPlanDO planDO);
    List<ErpMaterialPlanResp> toErpMaterialPlanRespList(List<ErpMaterialPlanDO> planDOList);
}
